import pkg from './package.json';
import typescript from '@rollup/plugin-typescript'

export default {
  input: 'src/main.ts',
  output: [{
    name: 'simpleEditor',
    file: pkg.browser,
    format: 'umd'
  }, {
    file: pkg.main,
    format: 'cjs'
  }, {
    file: pkg.module,
    format: 'es'
  }],
  plugins: [typescript()]
}